package com.btex.app.entity;

import java.util.List;

/**
 * @author zy zhangyi <zhangyi, 1104745049@QQ.com
 * @version v1.0
 * @project study1
 * @Description
 * @encoding UTF-8
 * @date 2018/10/27
 * @time 上午11:07
 * @修改记录 <pre>
 * 版本       修改人         修改时间         修改内容描述
 * --------------------------------------------------
 * <p>
 * --------------------------------------------------
 * </pre>
 */

public class CoinsInfo {

    /**
     * code : 1
     * data : {"total_fund_BTC":"11.1111","total_fund_USD":"700000","total_fund_CNY":"100000","balances":[{"coin":"BTC","balance":"10.99681844","position_margin":0.00315841,"order_margin":0,"total":10.99997685},{"coin":"BCH","balance":"0.00000000","position_margin":0,"order_margin":0,"total":0},{"coin":"ETH","balance":"0.00000000","position_margin":0,"order_margin":0,"total":0}]}
     * info :
     */

    private int code;
    private DataBean data;
    private String info;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public static class DataBean {
        /**
         * total_fund_BTC : 11.1111
         * total_fund_USD : 700000
         * total_fund_CNY : 100000
         * balances : [{"coin":"BTC","balance":"10.99681844","position_margin":0.00315841,"order_margin":0,"total":10.99997685},{"coin":"BCH","balance":"0.00000000","position_margin":0,"order_margin":0,"total":0},{"coin":"ETH","balance":"0.00000000","position_margin":0,"order_margin":0,"total":0}]
         */

        private String total_fund_BTC;
        private String total_fund_USD;
        private String total_fund_CNY;
        private List<BalancesBean> balances;

        public String getTotal_fund_BTC() {
            return total_fund_BTC;
        }

        public void setTotal_fund_BTC(String total_fund_BTC) {
            this.total_fund_BTC = total_fund_BTC;
        }

        public String getTotal_fund_USD() {
            return total_fund_USD;
        }

        public void setTotal_fund_USD(String total_fund_USD) {
            this.total_fund_USD = total_fund_USD;
        }

        public String getTotal_fund_CNY() {
            return total_fund_CNY;
        }

        public void setTotal_fund_CNY(String total_fund_CNY) {
            this.total_fund_CNY = total_fund_CNY;
        }

        public List<BalancesBean> getBalances() {
            return balances;
        }

        public void setBalances(List<BalancesBean> balances) {
            this.balances = balances;
        }

        public static class BalancesBean {
            /**
             * coin : BTC
             * balance : 10.99681844
             * position_margin : 0.00315841
             * order_margin : 0
             * total : 10.99997685
             */

            private String coin;
            private String balance;
            private String position_margin;
            private String order_margin;
            private String total;
            private String total_value_BTC;
            private String total_value_USD;
            private String total_value_CNY;



            public String getTotal_value_CNY() {
                return total_value_CNY;
            }

            public void setTotal_value_CNY(String total_value_CNY) {
                this.total_value_CNY = total_value_CNY;
            }

            public String getTotal_value_USD() {
                return total_value_USD;
            }

            public void setTotal_value_USD(String total_value_USD) {
                this.total_value_USD = total_value_USD;
            }


            public String getTotal_value_BTC() {
                return total_value_BTC;
            }

            public void setTotal_value_BTC(String total_value_BTC) {
                this.total_value_BTC = total_value_BTC;
            }

            public String getCoin() {
                return coin;
            }

            public void setCoin(String coin) {
                this.coin = coin;
            }

            public String getBalance() {
                return balance;
            }

            public void setBalance(String balance) {
                this.balance = balance;
            }

            public String getPosition_margin() {
                return position_margin;
            }

            public void setPosition_margin(String position_margin) {
                this.position_margin = position_margin;
            }

            public String getOrder_margin() {
                return order_margin;
            }

            public void setOrder_margin(String order_margin) {
                this.order_margin = order_margin;
            }

            public String getTotal() {
                return total;
            }

            public void setTotal(String total) {
                this.total = total;
            }
        }
    }
}
